
AM_CPPFLAGS = -DwxUSE_GUI=0 -I$(top_srcdir)/include `wx-config --cxxflags base`

bin_PROGRAMS = munipack

noinst_LIBRARIES = libmprocess.a

munipack_SOURCES = munipack.cpp cmd.cpp mdark.cpp mflat.cpp dark.cpp flat.cpp \
                   coloring.cpp ctrafo.cpp cone.cpp listing.cpp fits.cpp \
                   astrometry.cpp photometry.cpp votable.cpp calibrate.cpp \
		   kombine.cpp

#munipack_LDFLAGS = @LIBGCC@ @LIBSTDCPP@ $(WX_LIBS) -L. -lmprocess
munipack_LDFLAGS = `wx-config --libs base` -L. @LIBGCC@ @LIBSTDCPP@
munipack_LDADD = -lmprocess

libmprocess_a_SOURCES = mprocess.cpp 
#libmprocess_a_LDFLAGS = `wx-config --libs base` @LIBGCC@ @LIBSTDCPP@

man_MANS = munipack.1
